﻿using System;
using ProtoBuf;
using ZyGames.Framework.Common;
using ZyGames.Framework.Collection;
using ZyGames.Framework.Game.Service;
using ZyGames.Framework.Model;
using ZyGames.Framework.Game.Context;

namespace ZyGames.DZPocker.Model.ProtoModel
{
	/// <summary>
	/// 玩家信息
	/// </summary>
	[ProtoContract]
	public class GameUser
	{
		/// <summary>
		/// 玩家ID
		/// </summary>        
		[ProtoMember(1)]
		public int UserId { get; set; }

		/// <summary>
		/// 昵称
		/// </summary>        
		[ProtoMember(2)]
		public string NickName { get; set; }

		/// <summary>
		/// 头像
		/// </summary>        
		[ProtoMember(3)]
		public string HeadIcon { get; set; }

		/// <summary>
		/// 性别
		/// </summary>        
		[ProtoMember(4)]
		public bool Sex { get; set; }

		/// <summary>
		/// 筹码
		/// </summary>        
		[ProtoMember(5)]
		public int GameCoin { get; set; }

		/// <summary>
		/// 
		/// </summary>        
		[ProtoMember(6)]
		public int WinNum { get; set; }

		/// <summary>
		/// 
		/// </summary>        
		[ProtoMember(7)]
		public int FailNum { get; set; }

		/// <summary>
		/// 真实姓名
		/// </summary>        
		[ProtoMember(8)]
		public string RealName { get; set; }

		/// <summary>
		/// 生日
		/// </summary>        
		[ProtoMember(9)]
		public DateTime Birthday { get; set; }
	}
}